<nz-card  nzTitle="生豆分拣列表" [nzExtra]="extraTemplate">
  <nz-table  #basicTable [nzData]="sl">
    <thead>
    <tr>
      <th>生产批次</th>
      <th>色差豆数量（公斤）</th>
      <th>残次豆数量（公斤）</th>
      <th>霉变豆数量（公斤）</th>
      <th>合格品数量（公斤）</th>
      <th>分拣员</th>

      <th>分拣意见</th>
      <th>分拣时间</th>
      <th>处理情况</th>
      <th>操作</th>
       </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of basicTable.data">
      <td>{{data.scpc}}</td>
      <td>{{data.scdsl}}</td>
      <td>{{data.ccdsl}}</td>
      <td>{{data.mbdsl}}</td>
      <td>{{data.hgsl}}</td>
      <td>{{data.fjy}}</td>

      <td>{{data.zjyj}}</td>
      <td>{{data.fjsj|date:'yyyy-MM-dd'}}</td>
      <td>{{data.clqk}}</td>



      <td>
        <a nz-button nzType="primary" (click)="sign(data.encapsortid)">记录 </a>

      </td>
    </tr>
    </tbody>
  </nz-table>




</nz-card>
<ng-template #extraTemplate>
  <nz-radio-group  nzButtonStyle="solid">
    <label nz-radio-button nzValue="A" (click)="getEncapsortByClqk('YCL')">已处理</label>
    <label nz-radio-button nzValue="B" (click)="getEncapsortByClqk('WCL')">未处理</label>

  </nz-radio-group>
</ng-template>
